package com.neu.carbon.mes.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.neu.common.annotation.Excel;
import com.neu.common.core.domain.BaseEntity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 质检标准对象 mes_check_standard
 * 
 * @author neuedu
 * @date 2024-11-25
 */
@ApiModel("质检标准")
public class MesCheckStandard extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    @ApiModelProperty("编号")
    private Long id;

    /** 物料分类 */
    @ApiModelProperty("物料分类")
    @Excel(name = "物料分类")
    private Long materialId;

    /** 检验项目名称 */
    @ApiModelProperty("检验项目名称")
    @Excel(name = "检验项目名称")
    private String checkItemName;

    /** 检验类型 */
    @ApiModelProperty("检验类型")
    @Excel(name = "检验类型")
    private String checkType;

    /** 标准值上限 */
    @ApiModelProperty("标准值上限")
    @Excel(name = "标准值上限")
    private Long maxValue;

    /** 标准值下限 */
    @ApiModelProperty("标准值下限")
    @Excel(name = "标准值下限")
    private Long minValue;

    private String materialName;

    public String getMaterialName() {
        return materialName;
    }

    public void setMaterialName(String materialName) {
        this.materialName = materialName;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setMaterialId(Long materialId) 
    {
        this.materialId = materialId;
    }

    public Long getMaterialId() 
    {
        return materialId;
    }
    public void setCheckItemName(String checkItemName) 
    {
        this.checkItemName = checkItemName;
    }

    public String getCheckItemName() 
    {
        return checkItemName;
    }
    public void setCheckType(String checkType) 
    {
        this.checkType = checkType;
    }

    public String getCheckType() 
    {
        return checkType;
    }
    public void setMaxValue(Long maxValue) 
    {
        this.maxValue = maxValue;
    }

    public Long getMaxValue() 
    {
        return maxValue;
    }
    public void setMinValue(Long minValue) 
    {
        this.minValue = minValue;
    }

    public Long getMinValue() 
    {
        return minValue;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("materialId", getMaterialId())
            .append("checkItemName", getCheckItemName())
            .append("checkType", getCheckType())
            .append("maxValue", getMaxValue())
            .append("minValue", getMinValue())
            .append("remark", getRemark())
            .toString();
    }
}
